/*
    板子硬件情况定义，统一提供给APP或者其他驱动的名称
    GPIO的相关设置、模式切换建议定义在这里
*/
#ifndef _BOARD_H_
#define _BOARD_H_

#define BSP_MCU_MODEL       POLSYS_MCU_HC32

#define BSP_TICK_CYCLE      10


#define LED                M0P_GPIO->P0OUT_f.P03
#define Led_On()			   LED = 0
#define Led_Off()			   LED = 1
#define Led_Init()		    M0P_GPIO->P0DIR_f.P03=0


#define Board_GetTickCycleValue()   SYSTICK_VALUE
#define Board_GetTickNowValue()     (u32)(SYSTICK_VALUE - SysTick->VAL)


#endif

